Skip to content

FileCacheStorage: Don't use sprintf() on maybe huge strings#4808

Merged
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:sprintf2
Jan 24, 2026
Merged

FileCacheStorage: Don't use sprintf() on maybe huge strings#4808
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:sprintf2

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 23, 2026

this seems to be the most expensive use of sprintf - memory wise

grafik

@ondrejmirtes ondrejmirtes merged commit 4a49df4 into phpstan:2.1.x Jan 24, 2026
630 of 639 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the sprintf2 branch January 24, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants